package mapper;

import bean.Article;

import java.util.List;

public interface ArticleMapper {
    List<Article> selectAll();
    Article selectById(Integer id);
    int insertArticle(Article article);
    int updateArticle(Article article);
    int deleteLogical(Integer id);
    List<Article> selectRecommend(int limit);
}
